from selenium import webdriver
from hyrobot.common import *
from time import sleep
from lib.webui import *


def suite_setup():
    # INFO('suite_setup')
    # wb = open_broswer()
    # mgr_login()

    INFO('管理员登录')
    mgr_login(get_global_webdriver())

# # 最后在执行这
# # 深度优先，先执行完这个目录，在下一个同级目录里的用例
# def suite_teardown():
#     INFO('suite_teardown')
#     wb = get_global_webdriver()
#     wb.quit()